import ActionsType from './actionsType';

const initState ={
     test:'1'
}

export default (state = initState,action:any)=>{
    switch(action.type){
         case ActionsType.TEST_MIAN:
             return {
                 ...state,
                 test:action.data
             }

         default:
             return state
    }
}